package com.aop.demo.singleton;

/**
 * @author zlj
 */
public class Singleton {

    private Singleton() {
    }

    private static class Inner {
        private static Singleton instance = new Singleton();
    }

    public static Singleton getInstance() {
        return Inner.instance;
    }
}
